
<div class="pageContent">


	<form method="post" action="__URL__/update/navTabId/__MODULE__?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="user_id" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>
		<input type="hidden" name="id" value="{$vo.id}" />
		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<label>区块名称：</label>
				<input type="text" readonly="true" value="<?php echo C('BM_BLOCK_NAME.'.$vo['block_id'])?>" />
			</div>
            <div class="unit">
                <label>区块类型：</label>
				<input type="text" readonly="true" value="<?php echo C('BM_TYPE_NAME.'.$vo['type'])?>" />
            </div>
			<div class="unit">
				<label>描述字段：</label>
                <input type="text" size="40" name="desc" value="{$vo.desc}" />
			</div>
			<div class="unit">
				<label>图片地址：</label>
                <input type="text" size="40" name="img_url" value="{$vo.img_url}" />
			</div>
			<div class="unit">
				<label>链接地址：</label>
				<input type="text" size="40" name="href_url" value="{$vo.href_url}" />
			</div>
			<div class="unit">
				<label>扩展内容：</label>
				<textarea name="context" rows="3" cols="57">{$vo.context}</textarea>
			</div>
			<div class="unit">
				<label>是否激活：</label>
				<select name="is_active">
					<option value="0" <?php if($vo['is_active']==0)echo "selected";?>>禁用</option>
					<option value="1" <?php if($vo['is_active']==1)echo "selected";?>>激活</option>
				</select>
			</div>
			<div class="unit">
				<label>排序：</label>
				<input type="text" name="sort" value="{$vo.sort}" /><span class="info">排序(数值越大优先级越高)</span>
			</div>
			
			<div class="unit">
				<label>有效时间：</label>
				<input type="text" name="start_time" value="{$vo.start_time}" class="date" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" /><a class="inputDateButton" href="javascript:;">选择</a>
				<label style="width:30px;">&nbsp;&nbsp;至</label>
				<input type="text" name="end_time" value="{$vo.end_time}" class="date" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" /><a class="inputDateButton" href="javascript:;">选择</a>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>

